package com.nbufe.strategy.demo1;

/**
 * @Author Zan
 * @Create 2024/5/15 14:46
 * @ClassName: YoungDiscount
 * @Description : TODO 请用一句话描述该类的功能
 */
public class YoungDiscount implements Discount {

    @Override
    public double calculate(double price) {
        return price - 10;
    }
}
